package com.dzf.service.impl;


import com.dzf.dao.RateDao;
import com.dzf.entity.RespJson;
import com.dzf.service.RateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RateServiceImpl implements RateService {
    @Autowired
    RateDao rateDao;

    @Override
    public RespJson likeBlog(String uid, String blogid) {
        return rateDao.likeBlog(uid,blogid);
    }

    @Override
    public boolean findByUserLike(String blogid, String uid) {
        return rateDao.findByUserLike(blogid, uid);
    }


}
